//
//  ServicesDetails.h
//  Truffle
//
//  Created by Ismaila Kredity on 08/02/10.
//  Copyright 2010 kredity. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DatasTruffle.h"
#import "RestConnectionDelegate.h"

@class Comments, Service, ServiceListViewController;

@interface ServiceDetailsViewController : UIViewController <RestConnectionDelegate>{

	Comments * comment;
	NSInteger idServ;
	Service* assignedService;
	ServiceListViewController *myPass;
	NSInteger gatewayIndexSection;
	NSInteger gatewayIndexRow;
	
	IBOutlet UILabel *titre;
	IBOutlet UILabel *position;
	IBOutlet UILabel *auteur;
	IBOutlet UITextView *description;
	IBOutlet UIButton *chmpTxtDescription;
	//IBOutlet UITableView * tableView;
	
	NSMutableArray *mutableServiceDescriptionTable;
	
	IBOutlet UIActivityIndicatorView *activityIndicator;
	
	RestConnection *restConnection;
	NSArray *tableData;
}

@property (nonatomic, retain) UILabel *titre;
@property (nonatomic, retain) UILabel *position;
@property (nonatomic, retain) UILabel *auteur;
@property (nonatomic, retain) UITextView *description;
@property (nonatomic, retain) UIButton *chmpTxtDescription;
@property (nonatomic, assign) NSInteger idServ;
@property (nonatomic, assign) Service *assignedService;
@property (nonatomic, assign) ServiceListViewController *myPass;
@property (nonatomic, assign) NSInteger gatewayIndexSection;
@property (nonatomic, assign) NSInteger gatewayIndexRow;

@end
